package com.ledou44.ledousrad.sradenum;

public enum DiscoveryResultEnum {

    FAILED(0, "调用失败"),

    SUCCESS(1,"调用成功"),

    NOT_FOUND(2,"服务未找到"),

    TIME_OUT(3,"调用超时");

    private Integer code;
    private String describe;

    DiscoveryResultEnum(Integer code, String describe) {
        this.code = code;
        this.describe = describe;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }
}
